<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <div class="col-xs-12 col-sm-8">
            <button type="button" class="btn btn-info fachoose"><i class="fa fa-plus"></i> {:__('Add Product')}</button>
            <button type="submit" class="btn btn-success btn-embossed">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>

    <div class="form-group">
        <p class="col-xs-12 col-sm-12">新添加的商品列表:</p>
        <div class="col-xs-12 col-sm-12">
            <table id="table-product-add" class="table table-striped table-bordered table-hover table-nowrap" width="100%">
            </table>
        </div>
    </div>

    <div class="form-group">
        <p class="col-xs-12 col-sm-12">已存在的商品列表:</p>
        <div class="col-xs-12 col-sm-12">
            <table id="table-product" class="table table-striped table-bordered table-hover table-nowrap" width="100%">
            </table>
        </div>
    </div>

</form>
<script>
    tableProduct = {$row.goods ? $row.goods : '[]'};
</script>
